package com.xx.job.seataaccountservice2003.service.impl;

import com.xx.job.entity.Account;
import com.xx.job.seataaccountservice2003.mapper.AccountMapper;
import com.xx.job.seataaccountservice2003.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    private AccountMapper accountMapper;

    @RequestMapping("/account/update")
    public void update(Account account) {
        accountMapper.update(account);
    }
}
